package com.whmall.service.crm.entity.dto.company;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LostCompanyListQueryReqDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long traderId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastOrderTimeGte;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastOrderTimeLte;

    /**
     * 撮合部门路径
     */
    private String departmentPath;

}
